package com.wzf.greattruth.zookeeper.election;

public abstract class ElectionEventAware<T> {
    private T object;

    /**
     * 选举过程中的时间处理器
     * 
     * @param electionEventType
     */
    public abstract void onElectionEvent(ElectionEventType electionEventType);

    public T getObject() {
        return object;
    }

    public void setObject(T object) {
        this.object = object;
    }
}
